﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cat.Domain.Entities;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;

namespace Cat.Domain.Shared
{
    public interface IDbContext
    {
        IDbSet<T> Set<T>() where T : BaseEntity;

        DbEntityEntry Entry(object entity);

        int SaveChanges();
    }
}
